<template>
  <div class="loading-animation">
    <span class="dot"></span>
    <span class="dot"></span>
    <span class="dot"></span>
  </div>
</template>

<script setup>
// 简单的动画，三个点闪烁
</script>

<style scoped>
.loading-animation {
  display: flex;
  align-items: center;
  padding: 7px 0;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #888;
  margin: 0 4px;
  animation: blink 1.4s infinite ease-in-out both;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}
</style>
